package com.quanyan.dubbodemo.model;/*
package com.quanyan.scheduler.model;

import org.quartz.CronTrigger;
import org.quartz.JobDetail;
import org.quartz.Trigger;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


public class SchedulerBean implements Serializable {

    private static final long serialVersionUID = -6133695997881237383L;

    private String jobName;

    private String jobDescription;

    private String dependence;

    private String cron;

    private String jobClassDesc;

    private JobDetail jobDetail;

    private CronTrigger cronTrigger;

    private Trigger trigger;

    private List<CronTrigger> triggers;

    private List<ParamElement> params;

    private Map<String, String> paramsMap;

    private Class clazz;

    public SchedulerBean() {
    }

    public SchedulerBean(String jobName) {
        super();
        this.jobName = jobName;
    }

    public SchedulerBean(JobDetail jobDetail, List<CronTrigger> triggers) {
        super();
        this.jobDetail = jobDetail;
        this.triggers = triggers;
        this.jobName = jobDetail.getKey().getName();
    }

    public SchedulerBean(JobDetail jobDetail, List<CronTrigger> triggers, List<ParamElement> params) {
        this(jobDetail, triggers);
        this.params = params;
    }

    public JobDetail getJobDetail() {
        return jobDetail;
    }

    public void setJobDetail(JobDetail jobDetail) {
        this.jobDetail = jobDetail;
    }

    public List<CronTrigger> getTriggers() {
        return triggers;
    }

    public void setTriggers(List<CronTrigger> triggers) {
        this.triggers = triggers;
    }

    public List<ParamElement> getParams() {
        return params;
    }

    public void setParams(List<ParamElement> params) {
        this.params = params;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobDescription() {
        return jobDescription;
    }

    public void setJobDescription(String jobDescription) {
        this.jobDescription = jobDescription;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

//	public Map<String, Object> getParamsMap() {
//		this.paramsMap = new HashMap<String, Object>();
//		if (this.params != null && this.params.size() > 0) {
//			for (ParamElement element : this.params) {
//				paramsMap.put(element.getName(), element.getValue());
//			}
//		}
//		return paramsMap;
//	}

    public CronTrigger getCronTrigger() {
        return cronTrigger;
    }

    public void setCronTrigger(CronTrigger cronTrigger) {
        this.cronTrigger = cronTrigger;
    }

    public Trigger getTrigger() {
        return trigger;
    }

    public void setTrigger(Trigger trigger) {
        this.trigger = trigger;
    }

    public String getJobClassDesc() {
        return jobClassDesc;
    }

    public void setJobClassDesc(String jobClassDesc) {
        this.jobClassDesc = jobClassDesc;
    }

    */
/**
     * @return the dependence
     *//*

    public String getDependence() {
        return dependence;
    }

    */
/**
     * @param dependence the dependence to set
     *//*

    public void setDependence(String dependence) {
        this.dependence = dependence;
    }

    public Class getClazz() {
        return this.clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public Map<String, String> getParamsMap() {
        return this.paramsMap;
    }

    public void setParamsMap(Map<String, String> paramsMap) {
        this.paramsMap = paramsMap;
    }
}
*/
